<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>发布团购 - 团购管理</title>
<link href="<?php echo BASE_URL;?>public/css/admin.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="main-wrap">
	<div class="path"><span class="path-icon"></span>当前位置：<span>团购管理</span> &gt; <span>发布团购</span></div>
    <div class="set-wrap">
        <h4 class="main-title">发布团购</h4>
		<div class="set-area-int">
            <div class="change-password">
            <form action="" method="post">
				<label for="">
					<p><span>*</span>商品名称：</p>
					<?php 				
							$id = isset($info['id']) ? $info['id'] : ''; 
							$name = isset($info['name']) ? $info['name'] : ''; 
							$type = isset($info['type']) ? $info['type'] : '';
							$unit = isset($info['unit']) ? $info['unit'] : '';
							$brand = isset($info['brand']) ? $info['brand'] : '';
							$price = isset($info['price']) ? $info['price'] : '';
							$start = isset($info['start']) ? $info['start'] : '';
							$end = isset($info['end']) ? $info['end'] : '';
							$freight = isset($info['freight']) ? $info['freight'] : '';
							$taxrate = isset($info['taxrate']) ? $info['taxrate'] : '';
							$maxpersons = isset($info['maxpersons']) ? $info['maxpersons'] : '';
							$minpersons = isset($info['minpersons']) ? $info['minpersons'] : '';
							//$currentpersons = isset($info['currentpersons']) ? $info['currentpersons'] : '';
							//$currentdiscount = isset($info['currentdiscount']) ? $info['currentdiscount'] : '';
							$remark = isset($info['remark']) ? $info['remark'] : '';
					?>
					<input name="name" class="input-box float-newuser" type="text" value="<?php echo $name;?>" />
				</label>
            	<label for="">
                	<p><span>*</span>类型：</p>
                	<input name="type" class="input-box float-newuser" type="text" value="<?php echo $type;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>价格：</p>
                	<input name="price" class="input-box float-newuser" type="text" value="<?php echo $price;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>单位：</p>
                	<input name="unit" class="input-box float-newuser" type="text" value="<?php echo $unit;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>品牌：</p>
                	<input name="brand" class="input-box float-newuser" type="text" value="<?php echo $brand;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>开始时间：</p>
                	<input name="start" class="input-box float-newuser" type="text" value="<?php echo $start;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>结束时间：</p>
                	<input name="end" class="input-box float-newuser" type="text" value="<?php echo $end;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>运费：</p>
                	<input name="freight" class="input-box float-newuser" type="text" value="<?php echo $freight;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>税率：</p>
                	<input name="taxrate" class="input-box float-newuser" type="text" value="<?php echo $taxrate;?>" />%
                </label>
            	<label for="">
                	<p><span>*</span>最小团购人数：</p>
                	<input name="minpersons" class="input-box float-newuser" type="text" value="<?php echo $minpersons;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>最大团购人数：</p>
                	<input name="maxpersons" class="input-box float-newuser" type="text" value="<?php echo $maxpersons;?>" />
                </label>
            	<label for="">
                	<!--<p><span>*</span>当前购买人数：</p>
                	<input name="currentpersons" class="input-box float-newuser" type="text" value="<?php echo $currentpersons;?>" />
                </label>
            	<label for="">
                	<p><span>*</span>当前折扣：</p>
                	<input name="currentdiscount" class="input-box float-newuser" type="text" value="<?php echo $currentdiscount;?>" />
                </label>-->
                <label for="">
                	<p><span>*</span>说明：</p>
					<textarea name="remark"><?php echo $remark ; ?></textarea>
                </label>
				<input name="id" type="hidden" value="<?php echo $id;?>" />
                <div class="button password-btn-position"><input name="" type="submit" value="提交" /></div>
            </form>
            </div>
    	</div>
    </div>
</div>
</body>
</html>
